package com.woniuxy.intellihome.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
@ToString
@TableName("v_review")
public class VReview implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableField("spu_id")
    private int spuId;

    @TableField("user_id")
    private int userId;

    @TableField("sku_id")
    private int skuId;

    private String content;//评论内容

    private String type;//评论类型

    private String time;//评论时间

    private BigDecimal price;//价格

    private int stock;//库存

    private String preview;//预览图

    private String name;//商品名
    @TableField("goods_spec")
    private String goodsSpec;//商品规格名
    @TableField("spec_value")
    private String specValue;//商品规格值

    private String account;
}
